import { Component } from 'react'
import { View, Text } from '@tarojs/components'
import SpotChild from './spotChild'

export default class Spot extends Component {

  clickHandle = () => {
    this.props.onDeleteCard()
  }

  render() {
    return (
      <View >
        <SpotChild renderHeader={<View className="welcome-message">Welcome!</View>}>
          <Text>我是要传入的插槽</Text>
        </SpotChild>
      </View>
    )
  }

}
